package com.samuel.entities;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 公共基础实体类
 * @author a neng huang
 * @since 2021-02-24 20:55
 */
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = -6425645535407701885L;
    private String id;
    /** 1: 未删除 2：删除 **/
    private int deleted;
    private LocalDateTime modifyDate;
    private LocalDateTime createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public LocalDateTime getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(LocalDateTime modifyDate) {
        this.modifyDate = modifyDate;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
}
